package cn.itcast.job;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

import java.util.Date;

/**
 * @program: schedule
 * @description: 执行job任务
 * @author: zhanghz001
 * @create: 2021-08-03 22:35
 **/
public class ZhzJob extends QuartzJobBean {
    @Override
    protected void executeInternal(JobExecutionContext jobExecutionContext)
            throws JobExecutionException {
        System.out.println("任务3执行了" + new Date());
        
    }
}
